package com.google.code.fluentjoiner;

import com.google.common.base.Supplier;

public abstract class ApplierSupplierBuilder<T> extends AbstractSupplierBuilder<Applier<T>>
{
    public static <T> ApplierSupplierBuilder<T> create(final Supplier<T> supplier, final Consumer<? super T> consumer)
    {
        return new ApplierSupplierBuilder<T>()
        {
            @Override
            protected Applier<T> getSupplierResult()
            {
                return new Applier(supplier, consumer);
            }
        };
    }
}